package org.example.Problem;

public class L810 {
    public boolean xorGame(int[] nums) {
        int xor = 0;
        for (int x :
                nums) {
            xor ^= x;
        }
        return nums.length%2 == 1|| xor == 0;
    }
}
